package com.yangj.web;
import java.util.List;
import java.util.Map;
import com.yangj.dao.OrderDetailDao;
import com.yangj.model.OrderDetail;
import net.sf.json.JSONArray;
public class GetPlayRecord  extends JsonServlet{
	@Override
	public String dealInput(Map<String, String[]> input) {
		OrderDetailDao orderDetailDao = new OrderDetailDao();
		List<OrderDetail> list = orderDetailDao.getPlayRecord();
		return JSONArray.fromObject(list).toString();
	}
}
